import http from '@/utils/http2'

export function queryTree(params){
    return http.get('/category/',params)
}

export function updateCategoryOrder(id, orderNum){
    return http.put(`/category/order?id=${id}&orderNum=${orderNum}`)
}